package com.whc.myblog.dao;

import com.whc.myblog.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long>{
    User findByUsernameAndPassword(String name, String password);
}
